<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ include file="header.jsp" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Insert title here</title>
</head>
<body>
<s:fielderror/>
<form action="Book_Add_Action.action" method="post">
    <div class="templatemo-body" style="margin-top: 10px">
        <div class="container">
            <table border="1" rules="rows" style="margin: 0px auto">
                <tr height="30">
                    <td>书名：</td>
                    <td><input type="text" name="BookName" size="35">
                        <font color="red">
                            <s:property value="fieldErrors['BookName'][0]"/>
                        </font>
                    </td>
                </tr>
                <tr height="30">
                    <td>作者：</td>
                    <td><input type="text" name="author" size="35">
                        <font color="red">
                            <s:property value="fieldErrors['author'][0]"/>
                        </font>
                    </td>
                </tr>
                <tr height="30">
                    <td>书号：</td>
                    <td><input type="text" name="ISBN" size="35">
                        <font color="red">
                            <s:property value="fieldErrors['ISBN'][0]"/>
                        </font></td>
                </tr>
                <tr height="30">
                    <td>出版社：</td>
                    <td><input type="text" name="press" size="35">
                        <font color="red">
                            <s:property value="fieldErrors['press'][0]"/>
                        </font></td>
                </tr>
                <tr height="30">
                    <td>出版日期：</td>
                    <td><label>
                        <input type="text" name="pressdate" size="35">
                    </label>
                        <font color="red">
                            <s:property value="fieldErrors['pressdate'][0]"/>
                        </font></td>
                </tr>
                <tr height="30">
                    <td>价格：</td>
                    <td><input type="text" name="price" size="35">
                        <font color="red">
                            <s:property value="fieldErrors['price'][0]"/>
                        </font></td>
                </tr>
                <tr height="30">
                    <td>图片：</td>
                    <td><input type="text" name="image" size="35"></td>
                </tr>
                <tr align="center" height="30">
                    <td colspan="2"><input type="submit" value="提交"> <input
                            type="reset" value="重置"></td>
            </table>
        </div>
    </div>
</form>
</body>
</html>